package com.developer.platform.application.query.dto;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author ：qiaoliang
 * @date ：2020-12-29
 */
public class UserDto {
  private long id;
  @ApiModelProperty(value = "昵称")
  private String name;
  @ApiModelProperty(value = "手机号")
  private String phone;
  @ApiModelProperty(value = "头像")
  private String avatar;

  public UserDto(long id, String name, String phone, String avatar) {
    this.id = id;
    this.name = name;
    this.phone = phone;
    this.avatar = avatar;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getAvatar() {
    return avatar;
  }

  public void setAvatar(String avatar) {
    this.avatar = avatar;
  }
}
